const TokenKey = "User-Token";

export function getToken(): string | null {
  return sessionStorage.getItem(TokenKey);
}

export function setToken(token: string): void {
  sessionStorage.setItem(TokenKey, token);
}

export function removeToken(): void {
  return sessionStorage.removeItem(TokenKey);
}
